import request from "@/utils/request"

export default{
    //查询总用户
    getUserTotal(){
        return request({
            url:`/system/user/total`,
            method:"get"
        })
    },
    //查询文章总数
    getArticleTotal(){
        return request({
            url:`/article/article/total`,
            method:"get"
        })
    },
    //查询总提问
    getQuestionTotal(){
        return request({
            url:`/question/question/total`,
            method:"get"
        })
    },
    //每个分类下的文章数
    getCategoryTotal(){
        return request({
            url:`/article/article/category/total`,
            method:"get"
        })
    },
    //近6个月发布的文章总数
    getMonthArticleTotal(){
        return request({
            url:`/article/article/month/total`,
            method:"get"
        })
    },
    
}